package com.idol.logger

import android.util.Log
import com.idol.logger.core.IdolManager

fun v(vararg contents: Any) = vt(IdolManager.tag, *contents)
fun vt(tag: String, vararg contents: Any) = IdolManager.instance.log(Log.VERBOSE, tag, *contents)

fun d(vararg contents: Any) = dt(IdolManager.tag, *contents)
fun dt(tag: String, vararg contents: Any) = IdolManager.instance.log(Log.DEBUG, tag, *contents)

fun i(vararg contents: Any) = it(IdolManager.tag, *contents)
fun it(tag: String, vararg contents: Any) = IdolManager.instance.log(Log.INFO, tag, *contents)

fun w(vararg contents: Any) = wt(IdolManager.tag, *contents)
fun wt(tag: String, vararg contents: Any) = IdolManager.instance.log(Log.WARN, tag, *contents)

fun e(vararg contents: Any) = et(IdolManager.tag, *contents)
fun et(tag: String, vararg contents: Any) = IdolManager.instance.log(Log.ERROR, tag, *contents)

